package com.qfedu.pojo;

public class Loan {
    int pid;
    String pname;
    double prate;
    int limitDate;
    int beginPrice;

    @Override
    public String toString() {
        return "Loan{" +
                "pid=" + pid +
                ", pname='" + pname + '\'' +
                ", prate=" + prate +
                ", limitDate=" + limitDate +
                ", beginPrice=" + beginPrice +
                '}';
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public double getPrate() {
        return prate;
    }

    public void setPrate(double prate) {
        this.prate = prate;
    }

    public int getLimitDate() {
        return limitDate;
    }

    public void setLimitDate(int limitDate) {
        this.limitDate = limitDate;
    }

    public int getBeginPrice() {
        return beginPrice;
    }

    public void setBeginPrice(int beginPrice) {
        this.beginPrice = beginPrice;
    }

    public Loan(int pid, String pname, double prate, int limitDate, int beginPrice) {
        this.pid = pid;
        this.pname = pname;
        this.prate = prate;
        this.limitDate = limitDate;
        this.beginPrice = beginPrice;
    }

    public Loan() {
    }
}
